<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>比较插入图片和背景设置</title>
		<style>
			/* 小图标背景插入案例 */
			/* div {
				background-color: black;
				color: white;
				height: 80px;
				line-height: 80px;
				background-image: url("images/wangzhe.png");
				background-repeat: no-repeat;
				background-position: left;
				text-indent: 2.5em;
			} */
	/* 		img {
				margin-top: 30px;
			} */
			
			/* 大图背景插入案例 */
			/* img {
				width: 500px;
			} */
			
			/* div {
				background-image: url("images/0.jpg");
				height: 1000px;
			} */
			body {
				background-image: url("images/0.jpg");
				background-repeat: no-repeat;
				background-position: top;
			}
		</style>
	</head>
	<body>
		<!-- <div> -->
			<!-- 小图标背景插入 -->
			<!-- <img src="./images/wangzhe.png" alt=""> -->
			<!-- 欢迎登录 -->
			<!-- <img src="./images/0.jpg" alt=""> -->
		<!-- </div> -->
	</body>
</html>